package com.kristin.rmi.service.serviceImpl;

import com.kristin.rmi.service.DemoService;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

/**
 * @ClassName DemoService
 * @Description TODO
 * @Author Kristin
 * @Date 2021/06/23 13:19:49
 * @Version 1.0.0
 */
public class DemoServiceImpl extends UnicastRemoteObject implements DemoService {

    public DemoServiceImpl() throws RemoteException {
    }

    public String hello(String name) throws RemoteException {
        return "调用了服务端服务:" + name;
    }

}
